package com.xyazm.order.service;

import com.xyazm.order.domain.dto.LackDTO;
import com.xyazm.order.domain.entity.OrderInfoDO;
import com.xyazm.order.domain.param.LackParam;

/**
 * 订单缺品
 * @Author: xuyou
 * @Date: 2022/7/6 15:46
 */
public interface IOrderLackService {

    /**
     * 缺品取消订单 oK
     * @author xuyou
     * @date: 2022/7/6 15:18
     * @param: param
     */
    LackDTO lockItem(LackParam param);


    /**
     * 订单是否已经发起过缺品 ok
     * @param orderInfoDO
     * @return
     */
    boolean isOrderLacked(OrderInfoDO orderInfoDO);

}
